[INFO] cloning repository https://github.com/tjhorner/danbooru-tag-bot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tjhorner/danbooru-tag-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftjhorner%2Fdanbooru-tag-bot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftjhorner%2Fdanbooru-tag-bot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c6cc1fb65eeddc9fcef7fe7f7a86e6ad54166e15
[INFO] checking tjhorner/danbooru-tag-bot against master#4eb62535fc12dd1a63fd43a4173e224e79313c4d for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftjhorner%2Fdanbooru-tag-bot" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tjhorner/danbooru-tag-bot
[INFO] finished tweaking git repo https://github.com/tjhorner/danbooru-tag-bot
[INFO] tweaked toml for git repo https://github.com/tjhorner/danbooru-tag-bot written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tjhorner/danbooru-tag-bot on toolchain 4eb62535fc12dd1a63fd43a4173e224e79313c4d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tjhorner/danbooru-tag-bot already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded teloxide-macros v0.6.1
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.30
[INFO] [stderr]   Downloaded tracing-attributes v0.1.21
[INFO] [stderr]   Downloaded dptree v0.2.1
[INFO] [stderr]   Downloaded futures-executor v0.3.21
[INFO] [stderr]   Downloaded teloxide v0.9.0
[INFO] [stderr]   Downloaded tracing-core v0.1.26
[INFO] [stderr]   Downloaded futures v0.3.21
[INFO] [stderr]   Downloaded openssl-sys v0.9.73
[INFO] [stderr]   Downloaded tracing v0.1.34
[INFO] [stderr]   Downloaded mio v0.8.3
[INFO] [stderr]   Downloaded tokio-util v0.7.2
[INFO] [stderr]   Downloaded http v0.2.7
[INFO] [stderr]   Downloaded reqwest v0.11.10
[INFO] [stderr]   Downloaded hyper v0.14.18
[INFO] [stderr]   Downloaded diesel v1.4.8
[INFO] [stderr]   Downloaded openssl v0.10.40
[INFO] [stderr]   Downloaded aquamarine v0.1.11
[INFO] [stderr]   Downloaded teloxide-core v0.6.0
[INFO] [stderr]   Downloaded tokio v1.18.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b46fee47a28383ac8add72d85b3ee8ef4fb82d12e1bc08e4ce2e7607f31ab866
[INFO] running `Command { std: "docker" "start" "b46fee47a28383ac8add72d85b3ee8ef4fb82d12e1bc08e4ce2e7607f31ab866", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b46fee47a28383ac8add72d85b3ee8ef4fb82d12e1bc08e4ce2e7607f31ab866", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b46fee47a28383ac8add72d85b3ee8ef4fb82d12e1bc08e4ce2e7607f31ab866" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b46fee47a28383ac8add72d85b3ee8ef4fb82d12e1bc08e4ce2e7607f31ab866", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b46fee47a28383ac8add72d85b3ee8ef4fb82d12e1bc08e4ce2e7607f31ab866" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.39
[INFO] [stderr]    Compiling unicode-ident v1.0.0
[INFO] [stderr]    Compiling syn v1.0.95
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]     Checking once_cell v1.10.0
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]     Checking itoa v1.0.2
[INFO] [stderr]     Checking slab v0.4.6
[INFO] [stderr]    Compiling openssl-sys v0.9.73
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking mio v0.8.3
[INFO] [stderr]     Checking futures-io v0.3.21
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]     Checking tracing-core v0.1.26
[INFO] [stderr]    Compiling openssl v0.10.40
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]     Checking http v0.2.7
[INFO] [stderr]     Checking num-traits v0.2.15
[INFO] [stderr]     Checking matches v0.1.9
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]     Checking indexmap v1.8.1
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking unicode-normalization v0.1.19
[INFO] [stderr]    Compiling erasable v1.2.1
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]     Checking tower-service v0.3.1
[INFO] [stderr]    Compiling serde_json v1.0.81
[INFO] [stderr]    Compiling pq-sys v0.4.6
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]     Checking encoding_rs v0.8.31
[INFO] [stderr]     Checking getrandom v0.2.6
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]     Checking ipnet v2.5.0
[INFO] [stderr]     Checking regex v1.5.5
[INFO] [stderr]     Checking num-integer v0.1.45
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]    Compiling itertools v0.9.0
[INFO] [stderr]     Checking takecell v0.1.1
[INFO] [stderr]     Checking uuid v0.8.2
[INFO] [stderr]     Checking rc-box v1.2.0
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]     Checking take_mut v0.2.2
[INFO] [stderr]     Checking never v0.1.0
[INFO] [stderr]     Checking http-body v0.4.4
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]     Checking pretty_env_logger v0.4.0
[INFO] [stderr]    Compiling darling_core v0.13.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling futures-macro v0.3.21
[INFO] [stderr]    Compiling tracing-attributes v0.1.21
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]    Compiling pin-project-internal v1.0.10
[INFO] [stderr]    Compiling thiserror-impl v1.0.31
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling teloxide-macros v0.6.1
[INFO] [stderr]    Compiling aquamarine v0.1.11
[INFO] [stderr]     Checking tokio v1.18.2
[INFO] [stderr]     Checking pin-project v1.0.10
[INFO] [stderr]     Checking thiserror v1.0.31
[INFO] [stderr]     Checking tracing v0.1.34
[INFO] [stderr]    Compiling darling_macro v0.13.4
[INFO] [stderr]    Compiling darling v0.13.4
[INFO] [stderr]    Compiling serde_with_macros v1.5.2
[INFO] [stderr]    Compiling diesel v1.4.8
[INFO] [stderr]     Checking futures-executor v0.3.21
[INFO] [stderr]     Checking futures v0.3.21
[INFO] [stderr]     Checking dptree v0.2.1
[INFO] [stderr]     Checking tokio-util v0.7.2
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]     Checking tokio-util v0.6.10
[INFO] [stderr]     Checking tokio-stream v0.1.8
[INFO] [stderr]     Checking h2 v0.3.13
[INFO] [stderr]    Compiling migrations_internals v1.4.1
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling migrations_macros v1.4.2
[INFO] [stderr]     Checking hyper v0.14.18
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.10
[INFO] [stderr]     Checking teloxide-core v0.6.0
[INFO] [stderr]     Checking diesel_migrations v1.4.0
[INFO] [stderr]     Checking teloxide v0.9.0
[INFO] [stderr]     Checking danbooru-tag-bot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `file_url` is never read
[INFO] [stdout]   --> src/api.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Post {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub file_url: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Post` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_subscription` is never used
[INFO] [stdout]   --> src/db/mod.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub trait Database {
[INFO] [stdout]    |           -------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn get_subscription(&self, tag: &str, user_id: &i64) -> Option<Subscription>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `tag`, and `user_id` are never read
[INFO] [stdout]  --> src/db/models.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Subscription {
[INFO] [stdout]   |            ------------ fields in this struct
[INFO] [stdout] 6 |     pub id: i32,
[INFO] [stdout]   |         ^^
[INFO] [stdout] 7 |     pub tag: String,
[INFO] [stdout]   |         ^^^
[INFO] [stdout] 8 |     pub user_id: i64,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PostIndex` is never constructed
[INFO] [stdout]   --> src/db/models.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct PostIndex {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/db/models.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Queryable)]
[INFO] [stdout]   |          ^--------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Queryable` is not local
[INFO] [stdout]   |          move the `impl` block outside of this function `_impl_queryable_for_subscription`
[INFO] [stdout] 5 | pub struct Subscription {
[INFO] [stdout]   |            ------------ `Subscription` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/db/models.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[derive(Insertable)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newsubscription`
[INFO] [stdout] 12 | #[table_name = "subscriptions"]
[INFO] [stdout] 13 | pub struct NewSubscription<'a> {
[INFO] [stdout]    |            --------------- `NewSubscription` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/db/models.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[derive(Insertable)]
[INFO] [stdout]    |          -^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newsubscription`
[INFO] [stdout] 12 | #[table_name = "subscriptions"]
[INFO] [stdout] 13 | pub struct NewSubscription<'a> {
[INFO] [stdout]    |            --------------- `NewSubscription` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/db/models.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[derive(Insertable)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newsubscription`
[INFO] [stdout] 12 | #[table_name = "subscriptions"]
[INFO] [stdout] 13 | pub struct NewSubscription<'a> {
[INFO] [stdout]    |            --------------- `NewSubscription` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/db/models.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[derive(Queryable)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_subscriptionresult`
[INFO] [stdout] 19 | pub struct SubscriptionResult {
[INFO] [stdout]    |            ------------------ `SubscriptionResult` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/db/models.rs:24:10
[INFO] [stdout]    |
[INFO] [stdout] 24 | #[derive(Queryable)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_postindex`
[INFO] [stdout] 25 | pub struct PostIndex {
[INFO] [stdout]    |            --------- `PostIndex` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     post_index (id) {
[INFO] [stdout] 3 | |         id -> Int4,
[INFO] [stdout] 4 | |         last_seen_post -> Int4,
[INFO] [stdout] 5 | |     }
[INFO] [stdout] 6 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | | `table` is not local
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     post_index (id) {
[INFO] [stdout] 3 | |         id -> Int4,
[INFO] [stdout]   | |         -- `id` is not local
[INFO] [stdout] 4 | |         last_seen_post -> Int4,
[INFO] [stdout] 5 | |     }
[INFO] [stdout] 6 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     post_index (id) {
[INFO] [stdout] 3 | |         id -> Int4,
[INFO] [stdout] 4 | |         last_seen_post -> Int4,
[INFO] [stdout]   | |         -------------- `last_seen_post` is not local
[INFO] [stdout] 5 | |     }
[INFO] [stdout] 6 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_last_seen_post`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `file_url` is never read
[INFO] [stdout]   --> src/api.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Post {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub file_url: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Post` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_subscription` is never used
[INFO] [stdout]   --> src/db/mod.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub trait Database {
[INFO] [stdout]    |           -------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn get_subscription(&self, tag: &str, user_id: &i64) -> Option<Subscription>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `tag`, and `user_id` are never read
[INFO] [stdout]  --> src/db/models.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Subscription {
[INFO] [stdout]   |            ------------ fields in this struct
[INFO] [stdout] 6 |     pub id: i32,
[INFO] [stdout]   |         ^^
[INFO] [stdout] 7 |     pub tag: String,
[INFO] [stdout]   |         ^^^
[INFO] [stdout] 8 |     pub user_id: i64,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PostIndex` is never constructed
[INFO] [stdout]   --> src/db/models.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct PostIndex {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | / table! {
[INFO] [stdout]  9 | |     subscriptions (id) {
[INFO] [stdout] 10 | |         id -> Int4,
[INFO] [stdout] 11 | |         tag -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/db/models.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Queryable)]
[INFO] [stdout]   |          ^--------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Queryable` is not local
[INFO] [stdout]   |          move the `impl` block outside of this function `_impl_queryable_for_subscription`
[INFO] [stdout] 5 | pub struct Subscription {
[INFO] [stdout]   |            ------------ `Subscription` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/db/models.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[derive(Insertable)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newsubscription`
[INFO] [stdout] 12 | #[table_name = "subscriptions"]
[INFO] [stdout] 13 | pub struct NewSubscription<'a> {
[INFO] [stdout]    |            --------------- `NewSubscription` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/db/models.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[derive(Insertable)]
[INFO] [stdout]    |          -^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newsubscription`
[INFO] [stdout] 12 | #[table_name = "subscriptions"]
[INFO] [stdout] 13 | pub struct NewSubscription<'a> {
[INFO] [stdout]    |            --------------- `NewSubscription` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/db/models.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[derive(Insertable)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newsubscription`
[INFO] [stdout] 12 | #[table_name = "subscriptions"]
[INFO] [stdout] 13 | pub struct NewSubscription<'a> {
[INFO] [stdout]    |            --------------- `NewSubscription` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/db/models.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[derive(Queryable)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_subscriptionresult`
[INFO] [stdout] 19 | pub struct SubscriptionResult {
[INFO] [stdout]    |            ------------------ `SubscriptionResult` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/db/models.rs:24:10
[INFO] [stdout]    |
[INFO] [stdout] 24 | #[derive(Queryable)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_postindex`
[INFO] [stdout] 25 | pub struct PostIndex {
[INFO] [stdout]    |            --------- `PostIndex` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | / table! {
[INFO] [stdout]  9 | |     subscriptions (id) {
[INFO] [stdout] 10 | |         id -> Int4,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] 11 | |         tag -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | / table! {
[INFO] [stdout]  9 | |     subscriptions (id) {
[INFO] [stdout] 10 | |         id -> Int4,
[INFO] [stdout] 11 | |         tag -> Text,
[INFO] [stdout]    | |         --- `tag` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_tag`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | / table! {
[INFO] [stdout]  9 | |     subscriptions (id) {
[INFO] [stdout] 10 | |         id -> Int4,
[INFO] [stdout] 11 | |         tag -> Text,
[INFO] [stdout] 12 | |         user_id -> Int8,
[INFO] [stdout]    | |         ------- `user_id` is not local
[INFO] [stdout] 13 | |     }
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_user_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     post_index (id) {
[INFO] [stdout] 3 | |         id -> Int4,
[INFO] [stdout] 4 | |         last_seen_post -> Int4,
[INFO] [stdout] 5 | |     }
[INFO] [stdout] 6 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | | `table` is not local
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     post_index (id) {
[INFO] [stdout] 3 | |         id -> Int4,
[INFO] [stdout]   | |         -- `id` is not local
[INFO] [stdout] 4 | |         last_seen_post -> Int4,
[INFO] [stdout] 5 | |     }
[INFO] [stdout] 6 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     post_index (id) {
[INFO] [stdout] 3 | |         id -> Int4,
[INFO] [stdout] 4 | |         last_seen_post -> Int4,
[INFO] [stdout]   | |         -------------- `last_seen_post` is not local
[INFO] [stdout] 5 | |     }
[INFO] [stdout] 6 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_last_seen_post`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | / table! {
[INFO] [stdout]  9 | |     subscriptions (id) {
[INFO] [stdout] 10 | |         id -> Int4,
[INFO] [stdout] 11 | |         tag -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | / table! {
[INFO] [stdout]  9 | |     subscriptions (id) {
[INFO] [stdout] 10 | |         id -> Int4,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] 11 | |         tag -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | / table! {
[INFO] [stdout]  9 | |     subscriptions (id) {
[INFO] [stdout] 10 | |         id -> Int4,
[INFO] [stdout] 11 | |         tag -> Text,
[INFO] [stdout]    | |         --- `tag` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_tag`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | / table! {
[INFO] [stdout]  9 | |     subscriptions (id) {
[INFO] [stdout] 10 | |         id -> Int4,
[INFO] [stdout] 11 | |         tag -> Text,
[INFO] [stdout] 12 | |         user_id -> Int8,
[INFO] [stdout]    | |         ------- `user_id` is not local
[INFO] [stdout] 13 | |     }
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_user_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.35s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: migrations_internals v1.4.1, openssl v0.10.40
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4`
[INFO] running `Command { std: "docker" "inspect" "b46fee47a28383ac8add72d85b3ee8ef4fb82d12e1bc08e4ce2e7607f31ab866", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b46fee47a28383ac8add72d85b3ee8ef4fb82d12e1bc08e4ce2e7607f31ab866", kill_on_drop: false }`
[INFO] [stdout] b46fee47a28383ac8add72d85b3ee8ef4fb82d12e1bc08e4ce2e7607f31ab866
